Skip to content

Conversation

@giladgd
Copy link
Member

@giladgd giladgd commented Nov 27, 2024

Description of change

  • feat(JSON Schema grammar): prefixItems, minItems, maxItems support
  • feat(JSON Schema grammar): improve inferred types
  • feat(JSON Schema grammar): object additionalProperties, minProperties, maxProperties
  • feat(JSON Schema grammar): string minLength, maxLength, format
  • feat(function calling): params description support
  • feat(function calling): document JSON Schema type properties on Functionary chat function types
  • docs: how to reduce hallucinations when using JSON schema grammar
  • fix: bugs
  • chore: update dependencies

Resolves #384

Added a section in the documentation about reducing hallucinations when using JSON Schema grammar.

Pull-Request Checklist

  • Code is up-to-date with the master branch
  • npm run format to apply eslint formatting
  • npm run test passes with this change
  • This pull request links relevant issues as Fixes #0000
  • There are new or updated unit tests validating the change
  • Documentation has been updated to reflect this change
  • The new commits and pull request title follow conventions explained in pull request guidelines (PRs that do not follow this convention will not be merged)

@giladgd giladgd self-assigned this Nov 27, 2024
@giladgd giladgd force-pushed the gilad/jsonSchemaImprovements branch from 3174065 to 938c1eb Compare November 28, 2024 00:19
@giladgd giladgd marked this pull request as ready for review December 1, 2024 22:27
@giladgd giladgd requested a review from ido-pluto December 1, 2024 22:28
Copy link
Contributor

@ido-pluto ido-pluto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@giladgd giladgd merged commit 4d387de into master Dec 1, 2024
15 checks passed
@giladgd giladgd deleted the gilad/jsonSchemaImprovements branch December 1, 2024 23:36
@github-actions
Copy link

github-actions bot commented Dec 2, 2024

🎉 This PR is included in version 3.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Supporting minItems and others in LlamaJsonSchemaGrammar

3 participants